/*  直接返回顶部导航
*/  
import { Link } from "./router/index";
export default    function Header(props) {
     const data = props.ment;
     return (
          <div id="header"  >
               <div class="logo" >
                    <img src="./styles/images/logo.png" />
               </div>
               <div class="nav"  command="window-caption" >
                    {data.map(ment=>{
                         return <Link  activeClassName='selected'    href={ment.url} > {ment.name}</Link>
                         
                    })
                }
                    
               </div>
          </div>
     )
}